home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC & Mediji 1997 October
/
PCM_9710.iso
/
programi
/
cakewalk
/
ad.1
/
Minor Chord.cal
< prev
next >
Wrap
Text File
|
1997-05-15
|
545b
|
28 lines
;; Minor Chord.cal
;;
;; Treats each note as the root of a minor chord, and creates that chord:
;; For each note event, adds two note events with same time, vel, and dur
;; but a minor third and a perfect fifth higher.
;;
(do
(include "need20.cal") ; Require version 2.0 or higher of CAL
(forEachEvent
(if (== Event.Kind NOTE)
(do
(insert Event.Time Event.Chan NOTE (+ Note.Key 3) Note.Vel Note.Dur)
(insert Event.Time Event.Chan NOTE (+ Note.Key 7) Note.Vel Note.Dur)
)
)
)
)